/* utils/map.js */
// 地图相关
module.exports = {
  // 地图部分参数

  // 腾讯位置服务API
  mapKey: "MLABZ-XKTCV-GRHPX-5JIZI-7QRB6-S7BL2",

  // 学校精确坐标（用于地图定位和获取天气数据）
  longitude: '108.451214',
  latitude: '22.749564',

  // 是否展示 POI 点
  enablepoi: false,
  // 是否显示带有方向的当前定位点
  showLocation: true,
  // 缩放级别
  scale: 16.1,
  // 最小缩放级别，比缩放级别小0.1-0.2为宜
  minscale: 10,

  // 自定义图层
  groundoverlay: {
    // 图层透明度 0-1
    opacity: 0.8,
    // 西南角
    southwest_latitude: 22.744024,
    southwest_longitude: 108.446702,
    // 东北角
    northeast_latitude: 22.755976,
    northeast_longitude: 108.460971,
  },

  // 地图边界
  boundary: {
    // 西南角
    southwest_latitude: 22.744022,
    southwest_longitude: 108.446702
    ,
    // 东北角
    northeast_latitude: 22.755976,
    northeast_longitude: 108.460971,
  },

  // 学校边界
  school_boundary: {
    // 东（学校最东端的 经度）
    east:  108.460971,
    // 西（学校最东端的 经度）
    west: 108.446702,
    // 南（学校最东端的 纬度）
    south: 22.744024,
    // 北（学校最东端的 纬度）
    north: 22.755976,
  },

  // 默认地点
  default_point: {
    name: "东门",
    aliases: "学校正大门",
    img: "https://cdnjson.com/images/2023/02/26/schoolgate_dongmen.jpg",
    desc: "学校正大门\n可以通行行人和车辆",
    latitude: '22.095321',
    longitude: '118.280392',
  },

  // 地点数据（使用嵌套列表存储）
  site_data: [{
      id: 1,
      name: "楼宇",
      list: [{
          id: 1,
          name: "敷文园A",
          aliases: "公共教学楼",
          img: "https://mp-a13b66f2-bb92-4df0-9a56-63dc7fb0a0b0.cdn.bspapp.com/h/敷文园A.png",
          desc: "全校较大的教学楼，含有多媒体教室、电脑机房等教室",
          latitude: '22.74724',
          longitude: '108.452531',
        },
        {
          id: 2,
          name: "敷文园B",
          aliases: "公共教学楼",
          img: "https://mp-a13b66f2-bb92-4df0-9a56-63dc7fb0a0b0.cdn.bspapp.com/h/敷文园B.jpg",
          desc: "这里的机房巨卡",
          latitude: '22.747737',
          longitude: '108.45299',
        },
        {
          id: 3,
          name: "敷文园C",
          aliases: "公共教学楼",
          img: "https://mp-a13b66f2-bb92-4df0-9a56-63dc7fb0a0b0.cdn.bspapp.com/h/敷文园C.jpg",
          desc: "4区\n公共教学楼",
          latitude: '22.747338',
          longitude: '108.450449',
        },
        {
          id: 4,
          name: "敷文园D",
          aliases: "公共教学楼",
          img: "https://mp-2a305472-c1d9-4a56-914f-6fd961a10f85.cdn.bspapp.com/导航/敷文园D.jpg",
          desc: "",
          latitude: '22.747991',
          longitude: '108.450465',
        },
        {
          id: 5,
          name: "敷文园E",
          aliases: "公共教学楼",
          img: "https://mp-2a305472-c1d9-4a56-914f-6fd961a10f85.cdn.bspapp.com/导航/敷文园E.jpg",
          desc: "",
          latitude: '22.748634',
          longitude: '108.450589',
        },
        {
          id: 6,
          name: "敷文园F",
          aliases: "公共教学楼",
          img: "https://mp-2a305472-c1d9-4a56-914f-6fd961a10f85.cdn.bspapp.com/导航/敷文园F.jpg",
          desc: "后勤部所在地",
          latitude: '22.749396',
          longitude: '108.450664',
        },
      ]
    },
    {
      id: 2,
      name: "图书馆",
      list: [{
          id: 1,
          name: "图书馆",
          aliases: "一楼阅览室",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/图书馆.jpg",
          desc: "距离宿舍最近的阅览室，不过电脑声音很吵就是了",
          latitude: '22.749445',
          longitude: '108.451822',
        }
      ]
    },
    {
      id: 3,
      name: "二级学院",
      list: [{
          id: 1,
          name: "继续教育学院",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/继续教育学院.png",
          desc: "至善楼2区西侧一楼",
          latitude: '22.745660',
          longitude: '108.452325',
        },
        {
          id: 2,
          name: "交通学院",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/交通学院.jpg",
          desc: "至善楼3区一、二楼",
          latitude: '22.748875',
          longitude: '108.449615',
        },
        {
          id: 3,
          name: "人工智能与软件学院",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/人工智能与软件学院.jpg",
          desc: "3区四、五楼",
          latitude: '22.752299',
          longitude: '108.450576',
        },
        {
          id: 4,
          name: "数字经济学院",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/数字经济学院.png",
          desc: "嘉善楼东侧一楼",
          latitude: '22.753699',
          longitude: '108.451370',
        },
        {
          id: 5,
          name: "土木学院",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/土木学院.jpg",
          desc: "至善楼2区东侧一楼",
          latitude: '22.749637',
          longitude: '108.449621',
        },
        {
          id: 6,
          name: "信息工程学院",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/信息工程学院.png",
          desc: "嘉善楼西侧一楼",
          latitude: '22.751358',
          longitude: '108.449785',
        },
        {
          id: 7,
          name: "智能制造学院",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/智能制造学院.png",
          desc: "彰善楼东侧二楼",
          latitude: '22.753708',
          longitude: '108.452780',
        },
        {
          id: 8,
          name: "在建教学楼",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/在建教学楼.jpg",
          desc: "嘉善楼最西侧一楼",
          latitude: '22.753069',
          longitude: '108.449935',
        },
        {
          id: 9,
          name: "南硅谷B",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/南硅谷B.png",
          desc: "嘉善楼最西侧一楼",
          latitude: '22.748326',
          longitude: '108.449717',
        },
        {
          id: 10,
          name: "南硅谷C",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/南硅谷C.jpg",
          desc: "嘉善楼最西侧一楼",
          latitude: '22.748336',
          longitude: '108.449605',
        },
        {
          id: 11,
          name: "讯飞楼",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/讯飞楼.png",
          desc: "嘉善楼最西侧一楼",
          latitude: '22.753768',
          longitude: '108.453081',
        },
      ]
    },
    {
      id: 4,
      name: "校门",
      list: [{
          id: 1,
          name: "南门",
          aliases: "学校正大门",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/南门.jpg",
          desc: "学校正大门\n可以通行行人和车辆",
          latitude: '22.745727',
          longitude: '108.451335',
        },
        {
          id: 2,
          name: "北门",
          aliases: "学校侧门",
          img: "https://cdnjson.com/images/2023/02/26/schoolgate_beimen.jpg",
          desc: "学校侧门（原大门）\n只能通行行人，不能通行车辆",
          latitude: '22.753574',
          longitude: '108.453690',
        },
      ]
    },
    {
      id: 5,
      name: "会议厅",
      list: [{
          id: 1,
          name: "图书馆报告大厅",
          aliases: "大讲堂",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/图书馆报告大厅.png",
          desc: "学校最大的会议厅",
          latitude: '22.749089',
          longitude: '108.452075',
        }
      ]
    },
    {
      id: 6,
      name: "体育场馆",
      list: [{
          id: 1,
          name: "体育馆", 
          aliases: "体育馆", 
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/体育馆.jpg", 
          desc: "锻炼的地方", 
          latitude: '22.750627',
          longitude: '108.451892',
        },
        {
          id: 2,
          name: "篮球场",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/sport_basketball.jpg",
          desc: "学生打球的好去处",
          latitude: '22.750865',
          longitude: '108.450851',
        },
        {
          id: 3,
          name: "网球场",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/sport_volleyball.jpg",
          desc: "学生打排球的好去处",
          latitude: '22.752042',
          longitude: '108.453019',
        },
        {
          id: 4,
          name: "小足球场",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/sport_football2.jpg",
          desc: "学生踢球的好去处",
          latitude: '22.752834',
          longitude: '108.452439',
        },
        {
          id: 5,
          name: "体育训练馆",
          aliases: "训练场所",
          img: "https://cdnjson.com/images/2023/02/26/sport_climbing.jpg",
          desc: "学生的上课场所",
          latitude: '22.751399',
          longitude: '108.453373',
        },
      ]
    },
    {
      id: 7,
      name: "广场",
      list: [{
                  id: 1,
                  name: "体育广场",
                  aliases: "休息|放松",
                  img: "https://mp-a3b02081-3091-467c-b125-586f8c9d7d4f.cdn.bspapp.com/广场/体育广场.jpg",
                  desc: "这里有宽宽的大阶梯，是拍集体照的好地方",
                  latitude: '25.095328',
                  longitude: '110.27991',
                },
                {
                  id: 2,
                  name: "图书馆广场",
                  aliases: "去食堂的捷径",
                  img: "https://mp-a3b02081-3091-467c-b125-586f8c9d7d4f.cdn.bspapp.com/广场/图书馆广场.jpg",
                  desc: "这里经常举办各类社团活动、悠闲散步",
                  latitude: '22.749764',
                  longitude: '108.451882',
                },
                {
                  id: 3,
                  name: "活动中心广场",
                  aliases: "",
                  img: "https://mp-a3b02081-3091-467c-b125-586f8c9d7d4f.cdn.bspapp.com/广场/活动中心广场.jpg",
                  desc: "每次秋招，这里都会排满密密麻麻的人",
                  latitude: '22.751241',
                  longitude: '108.453281',
                },
                {
                  id: 4,
                  name: "硅谷广场",
                  aliases: "学习佳所",
                  img: "https://mp-a3b02081-3091-467c-b125-586f8c9d7d4f.cdn.bspapp.com/广场/硅谷广场.jpg",
                  desc: "学生们经常在这里学习",
                  latitude: '22.750292',
                  longitude: '108.449191',
                },
              ]
      },
    {
      id: 8,
      name: "美食",
      list: [{
          id: 1,
          name: "一食堂",
          aliases: "食堂",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/一食堂.jpg",
          desc: "冲呀！干饭呀！",
          latitude: '22.749801',
          longitude: '108.454075',
        },
        {
          id: 2,
          name: "三食堂",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/三食堂.jpg",
          desc: "学生们的美食天地",
          latitude: '22.745680',
          longitude: '108.454354',
        },
        {
          id: 3,
          name: "蜜雪冰城",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/delicious_mixue.jpg",
          desc: "你爱我 我爱你 蜜雪冰城甜蜜蜜",
          latitude: '22.751454',
          longitude: '108.455293',
        },
      ]
    },
    {
      id: 9,
      name: "风景",
      list: [{
          id: 1,
          name: "不孤湖",
          aliases: "",
          img: "https://mp-2a305472-c1d9-4a56-914f-6fd961a10f85.cdn.bspapp.com/导航/不孤湖.jpg",
          desc: "小小池塘，一方天地",
          latitude: '22.748623',
          longitude: '108.451618',
        },
        {
          id: 2,
          name: "风雨桥",
          aliases: "",
          img: "https://mp-2a305472-c1d9-4a56-914f-6fd961a10f85.cdn.bspapp.com/导航/风雨桥.jpg",
          desc: "",
          latitude: '22.748783',
          longitude: '108.452627',
        },
        
      ]
    },
    {
      id: 10,
      name: "学生服务",
      list: [{
          id: 1,
          name: "卫生所",
          aliases: "医务室",
          img: "https://mp-2a305472-c1d9-4a56-914f-6fd961a10f85.cdn.bspapp.com/导航/医务室‘.jpg",
          desc: "记得戴口罩哦，如果去医院记得弄清报销材料和流程",
          latitude: '25.094901',
          longitude: '110.277143',
        },
        {
          id: 2,
          name: "大学生心理健康与咨询中心",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/student_xinli.jpg",
          desc: "提供心理咨询等服务，需要提前预约",
          latitude: '22.750504',
          longitude: '108.451699',
        },
        {
          id: 3,
          name: "大学生创新创业实践基地",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/student_chuangye.jpg",
          desc: "这里曾经非常热闹",
          latitude: '22.749707',
          longitude: '108.449253',
        },
        {
          id: 4,
          name: "学生活动中心",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/学生活动中心.png",
          desc: "学生日常活动场所",
          latitude: '22.750929',
          longitude: '108.453078',
        },
        {
          id: 5,
          name: "学生演艺中心",
          aliases: "",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/学生演义中心.png",
          desc: "学生举办晚会活动地点",
          latitude: '22.746026',
          longitude: '108.453718',
        },
      ]
    },
    {
      id: 12,
      name: "宿舍公寓",
      list: [{
          id: 1,
          name: "11栋",
          aliases: "东一女生宿舍楼",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/11栋.png",
          desc: "食堂就在对面，干饭干饭",
          latitude: '22.747634',
          longitude: '108.455867',
        },
        {
          id: 2,
          name: "12栋",
          aliases: "东二男生宿舍楼",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/12栋.png",
          desc: "这栋曾经是男生宿舍楼，对面也是男生宿舍楼",
          latitude: '22.748159',
          longitude: '108.455776',
        },
        {
          id: 3,
          name: "西席苑",
          aliases: "东三女生宿舍楼",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/西席苑.png",
          desc: "快递点就在斜对面",
          latitude: '22.746863',
          longitude: '108.453893',
        },
        {
          id: 4,
          name: "学生宿舍8号楼",
          aliases: "东四女生宿舍楼",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/学生宿舍楼1.png",
          desc: "快递点就在对面",
          latitude: '22.751726',
          longitude: '108.455497',
        },
        {
          id: 5,
          name: "学生宿舍7号楼",
          aliases: "西一男生宿舍楼",
          img: "https://mp-cc766897-df43-494f-ba09-3f513a5ec10a.cdn.bspapp.com/daohang/学生宿舍楼2.png",
          desc: "曾经的鸳鸯楼",
          latitude: '22.751023',
          longitude: '108.455384',
        },
        {
          id: 6,
          name: "学生宿舍9号楼",
          aliases: "东二女生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_ludi.jpg",
          desc: "快递点就在旁边",
          latitude: '22.752230',
          longitude: '108.455433',
        },
        {
          id: 7,
          name: "学生宿舍10号楼",
          aliases: "女生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_ronghu.jpg",
          desc: "听说是10人间的女生宿舍楼",
          latitude: '22.752908',
          longitude: '108.455315',
        },
        {
          id: 8,
          name: "学生宿舍5号楼",
          aliases: "男生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_shanhu.jpg",
          desc: "一栋高高的男生宿舍楼",
          latitude: '22.7530275',
          longitude: '108.45428',
        },
        {
          id: 9,
          name: "学生宿舍4号楼",
          aliases: "男生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_guihu.jpg",
          desc: "",
          latitude: '22.752314',
          longitude: '108.454306',
        },
        {
          id: 10,
          name: "学生宿舍3号楼",
          aliases: "男生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_nanxi.jpg",
          desc: "新建学生宿舍楼\n听说有高贵的二人间和电梯",
          latitude: '22.751780',
          longitude: '108.454215',
        },
        {
          id: 11,
          name: "学生宿舍2号楼",
          aliases: "男生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_mulong.jpg",
          desc: "新建学生宿舍楼\n听说有高贵的二人间和电梯",
          latitude: '22.751177',
          longitude: '108.454210',
        },
        {
          id: 12,
          name: "学生宿舍1号楼",
          aliases: "男生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_mulong.jpg",
          desc: "新建学生宿舍楼",
          latitude: '22.750360',
          longitude: '108.454344·',
        },
      ]
    },
    
  ]

}